/* 首页CSS */
header{
  width: 100%;
  height: 3rem;
  background-image: url(../images/index_bg01.png);
  background-size: 100%;
  position: relative;
}
header>h2{
  width: 92%;
  margin: 0 auto;
  font-size: .4rem;
  font-family: myblod;
  color: white;
  padding-top: .7rem;
  letter-spacing: .05rem;
}
header>h2 .iconfont{
  font-size: .35rem;
  color: white;
  font-weight: lighter;
  float: right;
}

/* 轮播图 */
.banner{
  width: 92%;
  height: 3rem;
  position: relative;
  top: .3rem;
  left: 4%;
  border-radius: .2rem;
  overflow: hidden;
  box-shadow: -.1rem 0 .3rem .07rem rgba(0, 0, 0,.3);
}
.banner .ul{
  position: absolute;
  left: 0;
  width: 9999px;
}
.banner .ul li{
  float: left;
}
.banner .ul li img{
  width: 6.9rem;
  height: 3rem;
}
.banner .bar{
  display: block;
  position: absolute;
  bottom: .2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
}
.banner .bar li{
  float: left;
  width: .1rem;
  height: .1rem;
  background-color: rgba(255, 255, 255, .5);
  margin-left: .1rem;
  border-radius: .05rem;
  cursor: pointer;
  animation: wid .6s forwards;
}
@keyframes wid{
	0%{
		margin-left: .1rem;
	}
	25%{
		margin-left: .2rem;
	}
	50%{
		margin-left: .1rem;
	}
	75%{
		margin-left: .2rem;
	}
	100%{
		margin-left: .1rem;
	}
}
.banner .bar li:hover {
  background-color: #fff;
  box-shadow: 0 0 7px 3px #e2e3e2;
}
.banner .bar .cur {
  background-color: #fff;
  width: .22rem;
  margin-left: 0;
}
.banner .text{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: .5rem .4rem;
  box-sizing: border-box;
}
.banner .text h4{
  width: 100%;
  font-size: .27rem;
  color: white;
  font-weight: lighter;
  letter-spacing: .03rem;
  position: relative;
}
.banner .text h4::after{
  content: '';
  width: .4rem;
  border-bottom: .05rem solid white;
  position: absolute;
  bottom: -0.12rem;
  left: 0;
}
.banner .text h2{
  font-size: .57rem;
  color: white;
  font-family: myhz;
  font-weight: lighter;
  letter-spacing: 0.05rem;
  margin: .36rem 0 .16rem;
}
.banner .text h2 span{
  display: inline;
  background-image:-webkit-linear-gradient(left,white,rgba(255, 255, 255, .9),rgba(255, 255, 255, .4),transparent); 
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.banner .text h3{
  width: 3.5rem;
  font-size: .3rem;
  color: white;
  font-weight: lighter;
  background-color: rgba(255, 255, 255, .5);
  padding: 0 .18rem;
  box-sizing: border-box;
  letter-spacing: .05rem;
}
.banner .text h3 span{
  float: right;
}

/* 功能模块 */
.module{
  width: 100%;
  margin-top: 2rem;
}
.module .modul{
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 .4rem;
  box-sizing: border-box;
}
.modul li{
  width: 1.22rem;
  height: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.modul li a{
  display: block;
  width: .9rem;
  height: .9rem;
}
.modul li a img{
  display: block;
  width: 100%;
  height: 100%;
}
.modul li p{
  font-size: .26rem;
  color: #666;
}
.modul li .hot{
  position: absolute;
  top: 0;
  right: -.02rem;
  width: .46rem;
  height: .24rem;
  font-size: .16rem;
  font-weight: lighter;
  color: white;
  background-color: #ff0604;
  line-height: .24rem;
  text-align: center;
  border-radius: .12rem;
}

/* 课程快讯 */
.module .news{
  width: 100%;
  height: .8rem;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-top: .32rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 .3rem;
  box-sizing: border-box;
}
.news h3{
  display: inline-block;
  font-size: .3rem;
  font-family: myhz;
  color: #323232;
  font-weight: lighter;
  margin-right: .2rem;
}
.news h3 span{
  color: #338afb;
}
.news p{
  display: inline-block;
  font-size: .22rem;
  font-family: myblod;
  color: #338afb;
  font-weight: lighter;
  width: .58rem;
  height: .3rem;
  border-radius: .03rem;
  border: 1px solid #338afb;
  line-height: .3rem;
  text-align: center;
  margin-right: .13rem;
}
.news .txt{
  display: inline-block;
  font-size: .26rem;
  color: #989898;
  font-weight: lighter;
  margin-right: auto;
}
.toright{
  display: inline-block;
  color: #989898;
  font-size: .2rem;
}
.toright .iconfont{
  font-size: .26rem;
}

/* 限时优惠 */
.discountout{
  width: 100%;
}
.discount{
  width: 100%;
  height: .92rem;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 .3rem;
  box-sizing: border-box;
  font-size: .2rem;
}
.discount>img{
  display: block;
  width: .32rem;
  height: .32rem;
  margin-right: .2rem;
}
.discount>h5{
  font-size: .32rem;
  color: #313234;
  font-weight: lighter;
  margin-right: auto;
}
/* 倒计时 */
.discount .time{
  display: flex;
  align-items: center;
  font-size: .2rem;
  color: #343339;
}
.discount .time>p{
  font-size: .24rem;
  color: #6e727a;
  margin-right: .14rem;
}
.discount .time .tim{
  width: .34rem;
  height: .28rem;
  background-color: #343339;
  font-size: .24rem;
  color: white;
  font-weight: lighter;
  border-radius: .03rem;
  margin: 0 .03rem;
  line-height: .28rem;
  text-align: center;
}
.discount .time .toright{
  margin-left: .14rem;
}

/* 优惠列表 */
.discountout .discountul{
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: .18rem;
  box-sizing: border-box;
  border-bottom: 1px solid #e5e5e5;
}
.discountul li{
  width: 3.36rem;
  height: 3.06rem;
  border-radius: .11rem;
  border: 2px solid #eaeaea;
  box-sizing: border-box;
}
.discountul li:hover{
  box-shadow: 0 0 10px 9px #eaeaea;
}
.discountul li>img{
  display: block;
  width: 100%;
  height: 1.8rem;
}
.discountul li h6{
  display: block;
  font-size: .3rem;
  font-weight: lighter;
  padding: .14rem .12rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.discountul li h6>a{
  color: #323232;
}
.discountul li h6>span{
  color: #f44746;
  font-size: .36rem;
  font-family: myblod;
}
.discountul li h6>span span{
  font-size: .24rem;
}
.discountul li .person{
  width: 100%;
  height: .36rem;
  display: flex;
  align-items: center;
  padding: 0 .12rem;
}
.discountul li .person img{
  display: block;
  width: .36rem;
  height: .36rem;
  margin-right: .14rem;
}
.discountul li .person p{
  font-size: .24rem;
  color: #323232;
}
.discountul li .person p a{
  color: #323232;
}

/* 精品课程 */
.bestcourse{
  width: 100%;
  padding-bottom: 1rem;
}
.bestcourse .discount .time .more{
  font-size: .24rem;
  color: #6e727a;
}
.bestcourse .bestul{
  width: 100%;
}
.bestul li{
  width: 100%;
  height: 2.4rem;
  border-top: 1px solid #e5e5e5;
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 .3rem;
  box-sizing: border-box;
}
.bestul li .image{
  width: 2.43rem;
  height: 1.8rem;
  position: relative;
  border-radius: .1rem;
}
.bestul li .image img{
  display: block;
  width: 100%;
  height: 100%;
}
.bestul li .image .play{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  border-radius: .1rem;
}
.bestul li .image .play a{
  display: block;
  width: .6rem;
  height: .6rem;
  margin: auto;
}
.bestul li .image .play a img{
  display: block;
  width: 100%;
  height: 100%;
}
.bestul li .text{
  width: 4.3rem;
  height: 1.8rem;
}
.bestul li .text h6{
  font-size: .33rem;
}
.bestul li .text h6 a{
  color: #312f32;
  margin-right: .12rem;
}
.bestul li .text h6 span{
  display: inline-block;
  width: 1.1rem;
  height: .32rem;
  background-color: #ff494f;
  background-image: linear-gradient(to right,#ff494f,#ff8484);
  font-size: .24rem;
  font-weight: lighter;
  color: white;
  line-height: .32rem;
  text-align: center;
  border-radius: .05rem;
}
.bestul li .text p{
  font-size: .26rem;
  color: #8a8a8a;
  margin-top: .1rem;
}
.bestul li .text p a{
  color: #8a8a8a;
}
.bestul li .text .timeprice{
  color: #696969;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}
.bestul li .text .timeprice>span{
  color: #f44746;
  font-size: .36rem;
  font-family: myblod;
}
.bestul li .text .timeprice>span span{
  font-size: .24rem;
}

/* 底部 */
footer .navul li:nth-child(1) .iconfont{
  color: #338afb;
}
footer .navul li:nth-child(1) p{
  color: #338afb;
}